package city.spring.modules.medicalstation.drugwarehouseShelfExt.service;

import city.spring.modules.medicalstation.drugwarehouseShelfExt.entity.DrugwarehouseShelfExtEntity;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * Service：医护站药品入库与货架关联表
 *
 * @author 谢金婷
 * @date 2020-09-24 16:34:05
 */
public interface DrugwarehouseShelfExtService extends IService<DrugwarehouseShelfExtEntity> {
    String CACHE_NAME = "medicalstation_medicinewarehouse_shelf_ext";

    /**
     * 业务处理：保存一个 <strong>医护站药品入库与货架关联表</strong>
     *
     * @param entity 医护站药品入库与货架关联表
     */
    void saveDrugwarehouseShelfExt(DrugwarehouseShelfExtEntity entity);

    /**
     * 业务处理：修改一个 <strong>医护站药品入库与货架关联表</strong>
     *
     * @param entity 医护站药品入库与货架关联表
     */
    void updateDrugwarehouseShelfExt(DrugwarehouseShelfExtEntity entity);

    /**
     * 业务处理：删除一个 <strong>医护站药品入库与货架关联表</strong>
     *
     * @param primaryKey 主键ID
     */
    void deleteDrugwarehouseShelfExt(String primaryKey);

    /**
     * 业务处理：删除多个 <strong>医护站药品入库与货架关联表</strong>
     *
     * @param primaryKeys 主键ID列表
     */
    void deleteDrugwarehouseShelfExt(List<String> primaryKeys);
}